# 数据库配置
HOSTNAME = "127.0.0.1"
USERNAME = "root"
PASSWORD = "root"
PORT = 3306
DATABASE = "flask_project"

SQLALCHEMY_DATABASE_URI = "mysql+pymysql://{}:{}@{}:{}/{}?charset=utf8".format(USERNAME, PASSWORD, HOSTNAME
                                                                               , PORT,
                                                                               DATABASE)
# 邮箱配置
MAIL_SERVER = "smtp.qq.com"
# MAIL_USE_SLL = True
MAIL_PORT = 587
MAIL_USERNAME = "2024745553@qq.com"
MAIL_PASSWORD = "授权码_3938"
MAIL_DEFAULT_SENDER = "2024745553@qq.com"
